package com.java2;

public class InterFactTest {
}

interface Flyable{

    public static final int MAX_SPEED = 7900;

    int MIN_SPEED = 1;

    public abstract void fly();

    void stop();
}

interface Attackable{

    void attack();
}

class Plane implements Flyable{


    @Override
    public void fly() {
        System.out.println("通过引擎起飞");
    }

    @Override
    public void stop() {
        System.out.println("驾驶员减速停止");
    }
}

abstract class Kite implements Flyable{

    @Override
    public void fly() {

    }
}

class Bullet extends Object implements Flyable,Attackable,CC{

    @Override
    public void fly() {

    }

    @Override
    public void stop() {

    }

    @Override
    public void attack() {

    }

    @Override
    public void method1() {

    }

    @Override
    public void method2() {

    }
}

interface AA{
    void method1();
}

interface BB{
    void method2();
}

interface CC extends AA,BB{

}
